#include <iostream>
#include "array.h"

int main ()
{
    array a (1);
    a.set (0, 73);
    for (size_t i=0; i<10; ++i)
    {
        a.push_back(i);
    }


    array b = a;

    std::cout << "B: \n";
    for (size_t i=0; i<b.size(); ++i)
        std::cout << b.get(i) << "\n";

    b.push_back(256);

    a = b;
    std::cout << "A: \n";
    for (size_t i=0; i<a.size(); ++i)
        std::cout << a.get(i) << "\n";

    return 0;
}
